package org.grow.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 支援使用的物品表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "Material")
public class Material {
    @TableId(value = "materialCode", type = IdType.INPUT)
    private String materialCode;

    @TableField(value = "materialLabel")
    private String materialLabel;

    @TableField(value = "suggestPrice")
    private BigDecimal suggestPrice;

    @TableField(value = "materialType")
    private String materialType;

    public static final String COL_MATERIALCODE = "materialCode";

    public static final String COL_MATERIALLABEL = "materialLabel";

    public static final String COL_SUGGESTPRICE = "suggestPrice";

    public static final String COL_MATERIALTYPE = "materialType";
}